import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return MaterialApp(
      title: 'Text Widget',
      home: Scaffold(
        body: Center(
          child: Container(
            child: new Image.network(
              "http://172.16.0.103:8086/Wylm_patientAppServer/webHis/file/img/nN5jKuVe8jdeVdGdpFe/.jpg",

              fit: BoxFit.fitWidth,//图片填充样式
              colorBlendMode: BlendMode.darken,
            ),
            width: 300,
            height: 200,
            color: Colors.blue,
          ),
//          child: Image.asset("images/QQ截图20190506170847.png"),

        ),
      ),
    );
  }
}
